package binaryOctopus;

import java.util.ArrayList;

/**
 * The human player implements everything from the player interface 
 * that is designed for a game of checkers. So the human player must
 * be able to move a piece on the board, by clicking on two panels
 * and then the game will determine if the move is valid.
 */
public class HumanPlayer implements Player 
{
	//pieces that current player has
	private ArrayList<Coordinates> pieces;
	
	public HumanPlayer()
	{
		
	}
	
	public HumanPlayer(ArrayList<Coordinates> pieces)
	{
		//pieces = new ArrayList<Coordinates>();
		this.pieces = pieces; 
	}
	
	/**
	 * Move lets the player pick a piece that he has and a 
	 * panel that he wishes to move the piece to.
	 */
	 public void move() 
     {
		 //Needs to return an array of coordinates
		 //index 0 must contain the coordinates of the piece that is going to be moved
		 //index 1 must be the new location of the piece
             
		 //return PieceListener.clickTwoSquares();
     }


	public void setPieces(ArrayList<Coordinates> pieces)
	{
		this.pieces = pieces;
	}
	
}
